set(gcf,'Position',[100 100 460 400]);
set(gca,'Position',[.16 .12 .80 .74]);
figure_FontSize=8;
set(get(gca,'XLabel'),'FontSize',figure_FontSize,'Vertical','top');
set(get(gca,'YLabel'),'FontSize',figure_FontSize,'Vertical','middle');
set(findobj('FontSize',10),'FontSize',figure_FontSize);
set(findobj(get(gca,'Children'),'LineWidth',0.5),'LineWidth',2);
x=0:1:4;
% x=[1000000 2000000 3000000 4000000];
m2=[57.68, 58.05, 58.13, 58.22, 58.32];
m3=[61, 62.13, 62.4, 62.8, 63.1];
g2=[67.71, 68.19, 68.04, 68.23, 68.45];
g3=[70.02, 70.6, 70.77, 71, 71.04];
plot(x,m2,'-+b',x,m3,'-oK',x,g2,'-sr',x,g3,'-^g','LineWidth',1); %线性，颜色，标记
axis([0,4,0,105]);  %确定x轴与y轴框图大小;
set(gca,'XTick',[0:1:4]) %x轴范围1-6，间隔1
set(gca,'YTick',[0:20:110]) %y轴范围0-700，间隔100
legend('2-MPRE','3-MPRE','2-Gram-C','3-Gram-C')
xlabel('# of Trajetories')  %x轴坐标描述
ylabel('Prediction Accuracy (%') %y轴坐标描述
grid on
% y_all=[57.68,61,67.71,70.02;
%     58.05,62.13,68.19,70.6;
%     58.13,62.4,68.04,70.77;
%     58.22,62.8,68.23,71];
% b = bar(x,y_all,'FaceColor','flat');
% b(1).FaceColor = [0 0.4470 0.7410];
% b(2).FaceColor = [0.8500 0.3250 0.0980];
% b(3).FaceColor = [0.9290 0.6940 0.1250];
% b(4).FaceColor = [0.4660 0.6740 0.1880];
% 
% axis([500000,4500000,0,100]);
% xlabel('# of Trajetories')
% ylabel('Prediction Accuracy (%)')
% legend('2-MPRE','3-MPRE','2-Gram-C','3-Gram-C')